﻿using System;

public class Battery
{
    public enum BatteryType {LiIon, NiMH, NiCd };
    private string batteryModel=null;
    private int hoursIdle;
    private int hoursTalk;

    public string BatteryModel 
    {
        get { return this.batteryModel; }
        set { this.batteryModel = value; }
    }
    public int HoursIdle
    {
        get { return this.hoursIdle; }
        set { this.hoursIdle = value; }
    }
    public int HoursTalk
    {
        get { return this.hoursTalk; }
        set { this.hoursTalk = value; }
    }

    public Battery(string batteryModel)
    {
        this.BatteryModel = batteryModel;

    }
    public Battery(string batteryModel, int hoursIdle, int hoursTalk)
        :this(batteryModel)
    {
        this.HoursIdle = hoursIdle;
        this.HoursTalk = hoursTalk;
    }
}